package com.dingreading.cloud.web.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 阅读兴趣测评-选择项
 *
 * @author Administrator
 * @since 2023-11-22
 */
@Data
@Table(value = "read_interest_choice")
public class ReadInterestChoice implements Serializable {

    @Id(keyType = KeyType.Auto)
    private Long id;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Column(onInsertValue = "now()")
    private Date addTime;

    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Column(onInsertValue = "now()", onUpdateValue = "now()")
    private Date editTime;

    /**
     * 创建人uid
     */
    @ApiModelProperty(value = "创建人uid")
    private String addStaffUid;

    /**
     * 创建人姓名
     */
    @ApiModelProperty(value = "创建人姓名")
    private String addStaffName;

    /**
     * 更新人uid
     */
    @ApiModelProperty(value = "更新人uid")
    private String lastStaffUid;

    /**
     * 更新人姓名
     */
    @ApiModelProperty(value = "更新人姓名")
    private String lastStaffName;

    /**
     * 侧重点 1.语文基础 2.专注力 3.理解力 4.兴趣测评
     */
    @ApiModelProperty(value = "侧重点")
    private Integer emphasisType;

    @ApiModelProperty(value = "侧重点子名称")
    private Integer emphasisChildType;

    /**
     * 题目id
     */
    @ApiModelProperty(value = "题目id")
    private Long questionId;

    /**
     * 兴趣方向
     */
    @ApiModelProperty(value = "兴趣方向")
    private Integer interestType;

    /**
     * 兴趣方向名称
     */
    @ApiModelProperty(value = "兴趣方向名称")
    private String interestTypeName;

    /**
     * 选择项内容
     */
    @ApiModelProperty(value = "选择项内容")
    private String content;

    /**
     * 选择项图片
     */
    @ApiModelProperty(value = "选择项图片")
    private String imageUrl;

    /**
     * 是否正确答案 0.否 1.是
     */
    @ApiModelProperty(value = "正确答案")
    private Integer rightStatus;
}
